crypto/tls.halfConn.mac (field)
10 uses
crypto/tls (current package)
conn.go#L173: mac hash.Hash
conn.go#L218: hc.mac = hc.nextMac
conn.go#L385: minPayload := explicitNonceLen + roundUp(hc.mac.Size()+1, blockSize)
conn.go#L430: if hc.mac != nil {
conn.go#L431: macSize := hc.mac.Size()
conn.go#L441: localMAC := tls10MAC(hc.mac, hc.scratchBuf[:0], hc.seq[:], record[:recordHeaderLen], payload[:n], payload[n+macSize:])
conn.go#L507: mac := tls10MAC(hc.mac, hc.scratchBuf[:0], hc.seq[:], record[:recordHeaderLen], payload, nil)
conn.go#L536: mac := tls10MAC(hc.mac, hc.scratchBuf[:0], hc.seq[:], record[:recordHeaderLen], payload, nil)
conn.go#L905: payloadBytes -= c.out.mac.Size()
conn.go#L915: payloadBytes -= c.out.mac.Size()
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |